package entity;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class SaleOpportunity implements Serializable {

  private Integer id;
  private Integer customer_Id;
  private String source;
  private String success;
  private String general;
  private Integer contact_Id;
  private String contact_Phone;
  private String description;
  private Integer creator;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date create_Date;
  private Integer manager_Id;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date allot_Date;
  private String status;
  private Integer delete_Status;
  //关联客户表
  private Customer customer;
  //关联用户表
  private Users users;
  //关联联系人表
  private LinkMan linkMan;

  @Override
  public String toString() {
    return "SaleOpportunity{" +
            "id=" + id +
            ", customer_Id=" + customer_Id +
            ", source='" + source + '\'' +
            ", success='" + success + '\'' +
            ", general='" + general + '\'' +
            ", contact_Id=" + contact_Id +
            ", contact_Phone='" + contact_Phone + '\'' +
            ", description='" + description + '\'' +
            ", creator=" + creator +
            ", create_Date=" + create_Date +
            ", manager_Id=" + manager_Id +
            ", allot_Date=" + allot_Date +
            ", status='" + status + '\'' +
            ", delete_Status=" + delete_Status +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getCustomer_Id() {
    return customer_Id;
  }

  public void setCustomer_Id(Integer customer_Id) {
    this.customer_Id = customer_Id;
  }

  public String getSource() {
    return source;
  }

  public void setSource(String source) {
    this.source = source;
  }

  public String getSuccess() {
    return success;
  }

  public void setSuccess(String success) {
    this.success = success;
  }

  public String getGeneral() {
    return general;
  }

  public void setGeneral(String general) {
    this.general = general;
  }

  public Integer getContact_Id() {
    return contact_Id;
  }

  public void setContact_Id(Integer contact_Id) {
    this.contact_Id = contact_Id;
  }

  public String getContact_Phone() {
    return contact_Phone;
  }

  public void setContact_Phone(String contact_Phone) {
    this.contact_Phone = contact_Phone;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Integer getCreator() {
    return creator;
  }

  public void setCreator(Integer creator) {
    this.creator = creator;
  }

  public Date getCreate_Date() {
    return create_Date;
  }

  public void setCreate_Date(Date create_Date) {
    this.create_Date = create_Date;
  }

  public Integer getManager_Id() {
    return manager_Id;
  }

  public void setManager_Id(Integer manager_Id) {
    this.manager_Id = manager_Id;
  }

  public Date getAllot_Date() {
    return allot_Date;
  }

  public void setAllot_Date(Date allot_Date) {
    this.allot_Date = allot_Date;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public Integer getDelete_Status() {
    return delete_Status;
  }

  public void setDelete_Status(Integer delete_Status) {
    this.delete_Status = delete_Status;
  }

  public Customer getCustomer() {
    return customer;
  }

  public void setCustomer(Customer customer) {
    this.customer = customer;
  }

  public Users getUsers() {
    return users;
  }

  public void setUsers(Users users) {
    this.users = users;
  }

  public LinkMan getLinkMan() {
    return linkMan;
  }

  public void setLinkMan(LinkMan linkMan) {
    this.linkMan = linkMan;
  }
}
